from django.conf.urls import url, re_path
from laundry_system import views
 



urlpatterns = (
    url(r'^register/$', views.register),
    url(r'^login/$', views.login),
    url(r'^getprice_merchant/$', views.getprice_merchant),# 获得洗衣价格
    url(r'^getprice_customer/$', views.getprice_customer),# 获得洗衣价格
    url(r'^getpricebyid/$', views.getpricebyid),# 获得洗衣价格
    url(r'^saveprice/$', views.saveprice),# 修改洗衣价格
    url(r'^addprice/$', views.addprice),# 添加洗衣价格
    url(r'^deleteprice/$', views.deleteprice),# 删除洗衣价格
    url(r'^getallorders_merchant/$', views.getallorders_merchant),# 获得所有正在进行中的订单
    url(r'^getmerlist/$', views.getmerlist),# 获得商户列表
    url(r'^getmerchant/$', views.getmerchant),# 获得商户信息
    url(r'^getorderby_id/$', views.getorderby_id), # 通过订单id查询订单
    url(r'^placeorder/$', views.placeorder),# 下订单
    url(r'^getordering/$', views.getordering),# 客户查询正在进行的订单
    url(r'^getallordersby_cus/$', views.getallordersby_cus),# 通过用户名查询所有订单
    url(r'^getselfinfo/$', views.getselfinfo),# 获得个人信息
    url(r'^saveinfo/$', views.saveinfo),# 修改个人信息
    url(r'^getunderway/$', views.getunderway),# 获得所有正在进行中的订单
    url(r'^updateorder/$', views.updateorder),# 更新订单
    url(r'^searchorder/$', views.searchorder),# 商户通过复杂条件搜索订单
    url(r'^getincome/$', views.getincome),# 获得近15日收入
    url(r'^searchorder_customer/$', views.searchorder_customer),# 顾客通过复杂条件搜索订单
    url(r'^account/get_user_info/$', views.user_info),#
    url(r'^rateorder/$', views.rateorder),
    url(r'^getgoods/$', views.getgoods),
    url(r'^newplaceorder/$', views.newplaceorder),
    url(r'^searchgoods/$', views.searchgoods),
    url(r'^', views.home),
)